home *** CD-ROM | disk | FTP | other *** search
- ;
- ; $VER: Script di Installazione di TGest2DEMO v1.1 (31.03.02)
- ;
-
- (set @default-dest "Work:")
- (set #wrongOS (cat "TGest2DEMO necessita\n"
- "dell'OS2.0 o superiore!\n"))
- (set #TGest_dir (cat "Scegli il cassetto o la partizione\n"
- "dove installare il cassetto TGest2DEMO.\n"
- "Se il cassetto esiste già, allora seleziona\n"
- "il cassetto o la partizione che lo contiene."))
- (set #done (cat "TGest2DEMO è stato installato\n"
- "con successo nel cassetto.\n\n"))
-
- (set OS_ver (getversion "exec.library" (resident)))
- (if (< OS_ver (* 37 65536)) (abort #wrongOS))
-
- (complete 0)
- (set TGest_def_dir @default-dest)
- (set TGest_dir (askdir (default TGest_def_dir) (prompt #TGest_dir) (help @askdir-help)))
-
- (set TGest_dir (tackon TGest_dir "TGest2DEMO"))
-
- (if (NOT (exists TGest_dir)) (makedir TGest_dir (infos)))
-
- (complete 10)
- (copyfiles (source "Prog/") (dest TGest_dir) (all))
- (complete 100)
-
- (message #done "\"" TGest_dir "\"")
-
- (exit)
-